package com.xydtech.workflow.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 流程节点影像资料配置对象 wfl_step_doc
 *
 * @author JHON
 * @date 2022-01-04
 */
public class WflStepDoc extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 流程版本号 */
    @Excel(name = "流程版本号")
    private Long versionId;

    /** 节点编号 */
    @Excel(name = "节点编号")
    private Long stepId;

    /** 资料编号 */
    private Long docId;

    /** 序号 */
    @Excel(name = "序号")
    private Long orderNum;

    /** 是否必传            1-是            0-否 */
    @Excel(name = "是否必传            1-是            0-否")
    private String isMust;
    /** 资料编码*/
    private String docCode;
    /**资料名称*/
    private String docName;
    /** 复制的版本号 */
    private Long copyVersionId;

    public Long getCopyVersionId() {
        return copyVersionId;
    }

    public void setCopyVersionId(Long copyVersionId) {
        this.copyVersionId = copyVersionId;
    }

    public void setVersionId(Long versionId) {
        this.versionId = versionId;
    }

    public Long getVersionId() {
        return versionId;
    }

    public void setStepId(Long stepId) {
        this.stepId = stepId;
    }

    public Long getStepId() {
        return stepId;
    }

    public void setDocId(Long docId) {
        this.docId = docId;
    }

    public Long getDocId() {
        return docId;
    }

    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() {
        return orderNum;
    }

    public void setIsMust(String isMust) {
        this.isMust = isMust;
    }

    public String getIsMust() {
        return isMust;
    }

    public String getDocCode() {
        return docCode;
    }

    public void setDocCode(String docCode) {
        this.docCode = docCode;
    }

    public String getDocName() {
        return docName;
    }

    public void setDocName(String docName) {
        this.docName = docName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("versionId", getVersionId())
                .append("stepId", getStepId())
                .append("docId", getDocId())
                .append("orderNum", getOrderNum())
                .append("isMust", getIsMust())
                .toString();
    }
}
